# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo02
# Description:
# Author:       98745
# Date:         2019/3/14
#-------------------------------------------------------------------------------
import pandas
df=pandas.read_csv('gapminder.tsv',sep='\t')
country=df['country']
print(country.head(2))
print(country.tail(2))
sub=df[['country','continent','year']]
print(sub.head(2))
print(sub.tail(2))
